﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UITest.aspx.cs" Inherits="EZCRS.HCMS.Web.manage.UITest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>后台管理系统</title>
    <link type="text/css" href="../style/default.css" rel="Stylesheet" />
    <style type="text/css">
        #Layer1
        {
            position: absolute;
            width: 265px;
            height: 80px;
            z-index: 100;
            left: 35%;
            top: 40%;
            background-color: #fdfce9;
            border: 1px solid #666666;
        }
        body
        {
            font-size: 12px;
        }
        #Layer2
        {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 10;
            left: 0px;
            top: 0px;
            background-color: #eeeeee;
            filter: alpha(opacity=80);
        }
        .hotel_select
        {
            background-color: #0058A8;
            font-weight: bold;
            color: White;
            height: 26px;
        }
        #bottom_table
        {
            background: #dadada url(../style/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x;
        }
    </style>

    <script language="javascript">
	    function showmsg(str)
        {
           obj1=$F("Layer1");
           obj2=$F("Layer2");
           if(str==0)
           {
             obj1.style.display='none';
             obj2.style.display='none';
           }
           else
           {
             obj1.style.display='';
             obj2.style.display='';
           }
        }
        
        function showmenu()
        {
            objpic=$F("SplitImg");
            objmenu=$F("leftmenu");
            if(objmenu.style.display=="")
            {
                objmenu.style.display='none';
                objpic.src="../Image/splitter_r.gif";
                objpic.alt="显示菜单";
            }
            else
            {
                objmenu.style.display='';
                objpic.src="../Image/splitter_l.gif";
                objpic.alt="隐藏菜单";
            }
        }

        function submenu(str)
        {
            var leftdiv = document.getElementById("leftnav");

            var mm=leftdiv.getElementsByTagName("ul");

            for(i=0;i<mm.length;i++)
            {
                mm[i].style.display="none";
            }

            $F("ul"+str).style.display='';
        }
    </script>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>

    <form id="form1" runat="server">

    <script language="javascript">
  function getdata(gid)
  {  showmsg(1);
     EZCRS.HCMS.Web.manage.main.drp_group_selected(gid,data_cback);
  }
  function data_cback(response)
  {
     var obj=$F("drp_hotel");
     obj.length=0;
     ds=response.value;
     for(i=0;i<ds.Tables[0].Rows.length;i++)
        obj.options.add(new Option(ds.Tables[0].Rows[i].pid+"---"+ds.Tables[0].Rows[i].title,ds.Tables[0].Rows[i].htlid));
     obj.options.add(new Option("-选择酒店-","0"));
     obj.value="0";
     
    showmsg(0);
  }
  
  function chg_bas(ctype)
  {
    gid="";
    if($F("drp_group")!=undefined)
    {
    if($F("drp_group").length>0)
       gid=$F("drp_group")[$F("drp_group").selectedIndex].value;
    }
    hid=$F("drp_hotel")[$F("drp_hotel").selectedIndex].value;
    pidlist=$F("drp_hotel")[$F("drp_hotel").selectedIndex].text.split('---');
    if(pidlist.length==2)
     pid=pidlist[0];
     else
     pid="0";
    
    if(ctype=="g")
      hid="0";
     
    EZCRS.HCMS.Web.manage.main.changebas(gid,hid,pid);
    //$F("mainiframe").location.reload();
    strurl=window.top.mainiframe.location.href;
    window.top.mainiframe.location.href=strurl;
    
  }
 
    </script>

    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td colspan="3">
                <table border="0" cellpadding="0" cellspacing="0" width="100%" style="height: 70px;">
                    <tr>
                        <td style="width: 70%">
                            <img src="../image/feet_logo.jpg" width="140" height="27">
                        </td>
                        <td style="width: 30%" align="right" valign="top">
                            (<asp:Label ID="LabUserName" runat="server"></asp:Label>) &nbsp;<a href='password.aspx'
                                target='mainiframe'>asdfdsfsd</asp:Literal></a> | <a href='logout.aspx' target='_top'>
                                    fsdfdsf</a>
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 26px" colspan="2">
                            <div class="toolbar">
                                <asp:Label ID="Lab_Menu1" runat="server"></asp:Label>
                                <ul>
                                    <li>
                                        <asp:DropDownList ID="drp_group" runat="server" Width="90px">
                                        </asp:DropDownList>
                                    </li>
                                    <li>
                                        <asp:DropDownList ID="drp_hotel" runat="server" Width="150px">
                                        </asp:DropDownList>
                                    </li>
                                </ul>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="width: 150px" valign="top" id="leftmenu">
                <img src="../Image/left1.gif" width="150" height="1">
                <div class="leftnav" id="leftnav">
                    <span>
                        <ul id="ul1">
                            <li><a href="setup/syssetup.aspx" target="mainiframe">系统设置</a></li>
                            <li><a href="users/admin_list.aspx" target="mainiframe">管理员管理</a></li>
                            <li><a href="users/role_list.aspx" target="mainiframe">角色管理</a></li>
                            <li><a href="module/module_list.aspx" target="mainiframe">模块管理</a></li>
                            <li><a href="setup/webpageinfo.aspx" target="mainiframe">前台设置</a></li>
                            <li><a href="setup/webadmininfo.aspx" target="mainiframe">后台样式</a></li>
                            <li><a href="log/log_list.aspx" target="mainiframe">查看日志</a></li>
                        </ul>
                        <ul id="ul71" style="display: none">
                            <li><a href="ta/channel_list.aspx" target="mainiframe">渠道管理</a></li>
                            <li><a href="baseinfo/zone.aspx" target="mainiframe">地区信息维护</a></li>
                            <li><a href="baseinfo/proptype.aspx" target="mainiframe">酒店类型维护</a></li>
                            <li><a href="baseinfo/service.aspx" target="mainiframe">酒店服务设施</a></li>
                            <li><a href="baseinfo/baseinfo.aspx" target="mainiframe">类别信息维护</a></li>
                            <li><a href="setup/company.aspx" target="mainiframe">公司管理</a></li>
                            <li><a href="setup/partner.aspx" target="mainiframe">合作伙伴</a></li>
                        </ul>
                        <ul id="ul11" style="display: none">
                            <li><a href="group/group_add.aspx" target="mainiframe">集团添加</a></li>
                            <li><a href="hotel/hotel_add.aspx" target="mainiframe">酒店管理</a></li>
                            <li><a href="group/group_list.aspx" target="mainiframe">集团管理</a></li>
                        </ul>
                        <ul id="ul12" style="display: none">
                            <li><a href="hotel/hotel_list.aspx" target="mainiframe">所有集团内酒店</a></li>
                            <li><a href="hotel/hotel_add.aspx" target="mainiframe">非集团酒店</a></li>
                            <li><a href="hotel/hotel_new.aspx" target="mainiframe">酒店基本信息维护</a></li>
                            <li><a href="hotel/local.aspx" target="mainiframe">地理位置维护</a></li>
                            <li><a href="hotel/facility.aspx" target="mainiframe">服务设施维护</a></li>
                            <li><a href="hotel/policy.aspx" target="mainiframe">政策维护</a></li>
                            <li><a href="hotel/additionalInfo.aspx" target="mainiframe">补充信息维护</a></li>
                            <li><a href="hotel/imgact.aspx" target="mainiframe">图片管理</a></li>
                            <li><a href="hotel/receiveInfo.aspx" target="mainiframe">消息接收方式管理</a></li>
                            <li><a href="hotel/roomact.aspx" target="mainiframe">房型管理</a></li>
                        </ul>
                        <ul id="ul62" style="display: none">
                            <li><a href="hotel/salepolicy.aspx" target="mainiframe">价格代码</a></li>
                            <li><a href="hotel/planlist.aspx" target="mainiframe">计划管理</a></li>
                            <li><a href="hotel/expression.aspx" target="mainiframe">衍生公式</a></li>
                            <li><a href="hotel/seasonList.aspx" target="mainiframe">季节性波段</a></li>
                        </ul>
                        <ul id="ul63" style="display: none">
                            <li><a href="air/calendar_report.aspx" target="mainiframe">房态房价</a></li>
                            <li><a href="air/hotel.aspx" target="mainiframe">维护</a></li>
                            <li><a href="air/InventoryPlan.aspx" target="mainiframe">房量计划</a></li>
                            <li><a href="air/rev_report.aspx" target="mainiframe">收益报表</a></li>
                            <li><a href="air/air_log.aspx" target="mainiframe">维护日志</a></li>
                            <li><a href="air/notify_list.aspx" target="mainiframe">变价通知</a></li>
                        </ul>
                        <ul id="ul13" style="display: none">
                            <li><a href="carduser/upgrade_list.aspx" target="mainiframe">待升级常客查询</a></li>
                            <li><a href="carduser/cardnumb_nouse.aspx" target="mainiframe">常客卡号管理</a></li>
                            <li><a href="carduser/cardnumb_nouse.aspx" target="mainiframe">会员卡号管理</a></li>
                            <li><a href="present/present_apply.aspx" target="mainiframe">处理奖品申请</a></li>
                            <li><a href="carduser/cardnumb_modi.aspx" target="mainiframe">会员卡分配</a></li>
                            <li><a href="carduser/carduser_list.aspx" target="mainiframe">常客信息管理</a></li>
                            <li><a href="present/present_list.aspx" target="mainiframe">奖品信息维护</a></li>
                            <li><a href="present/present_sort.aspx" target="mainiframe">奖品类别维护</a></li>
                            <li><a href="carduser/carduserlevel_setup.aspx" target="mainiframe">常客等级设置</a></li>
                            <li><a href="carduser/scorerule_setup.aspx" target="mainiframe">积分规则设定</a></li>
                        </ul>
                        <ul id="ul14" style="display: none">
                            <li><a href="company/company_list.aspx" target="mainiframe">公司信息维护</a></li>
                            <li><a href="company/company_add.aspx" target="mainiframe">公司信息添加</a></li>
                            <li><a href="companyuser/companyuser_add.aspx" target="mainiframe">公司客添加</a></li>
                            <li><a href="companyuser/companyuser_list.aspx" target="mainiframe">公司客维护</a></li>
                        </ul>
                        <ul id="ul2" style="display: none">
                            <li><a href="news/news_add.aspx" target="mainiframe">新闻添加</a></li>
                            <li><a href="news/news_more.aspx" target="mainiframe">新闻管理</a></li>
                            <li><a href="news/news_sort.aspx" target="mainiframe">新闻分类管理</a></li>
                        </ul>
                        <ul id="ul30" style="display: none">
                            <li><a href="booklog/newbooklog.aspx" target="mainiframe">待审订单</a></li>
                        </ul>
                        <ul id="ul42" style="display: none">
                            <li><a href="booklog/caky.aspx" target="mainiframe">常客订单数据分析</a></li>
                            <li><a href="booklog/reports.aspx?reporttype=booking" target="mainiframe">常客预定记录</a></li>
                            <li><a href="booklog/reports.aspx?reporttype=checkin" target="mainiframe">常客入住记录</a></li>
                            <li><a href="booklog/reports.aspx?reporttype=noshow" target="mainiframe">常客no show 订单</a></li>
                            <li><a href="booklog/userrecord.aspx" target="mainiframe">常客用户报表</a></li>
                            <li><a href="booklog/cakyall.aspx" target="mainiframe">全部订单数据分析</a></li>
                            <li><a href="booklog/reportall.aspx?reporttype=booking" target="mainiframe">全部预定记录</a></li>
                            <li><a href="booklog/reportall.aspx?reporttype=checkin" target="mainiframe">全部入住记录</a></li>
                            <li><a href="booklog/reportall.aspx?reporttype=noshow" target="mainiframe">全部no show
                                订单 </a></li>
                            <li><a href="../report/channel_dist.aspx" target="mainiframe">渠道产量分布</a></li>
                            <li><a href="../report/channel_grow.aspx" target="mainiframe">渠道产量增长</a></li>
                            <li><a href="../report/channel_rel.aspx" target="mainiframe">预订产量同比</a></li>
                            <li><a href="../report/channel_lr.aspx" target="mainiframe">预订产量环比</a></li>
                            <li><a href="../report/cxl_ratio.aspx" target="mainiframe">渠道取消率报表</a></li>
                            <li><a href="../report/noshow_ratio.aspx" target="mainiframe">渠道Noshow率报表</a></li>
                        </ul>
                        <ul id="ul79" style="display: none">
                            <li><a href="../msgctl/Message/MsgList.aspx" target="mainiframe">消息事件流水账</a></li>
                            <li><a href="../msgctl/Message/SendMsg.aspx" target="mainiframe">发送消息</a></li>
                            <li><a href="../msgctl/Message/WebMsgList.aspx" target="mainiframe">Web消息列表</a></li>
                            <li><a href="../msgctl/Message/RepeatMsgList.aspx" target="mainiframe">重复消息事件列表 </a>
                            </li>
                            <li><a href="../msgctl/Adapter/AdapterList.aspx" target="mainiframe">适配器管理 </a></li>
                            <li><a href="../msgctl/Rule/RuleList.aspx" target="mainiframe">发送规则管理</a></li>
                            <li><a href="../msgctl/Template/TemplateList.aspx" target="mainiframe">消息模板管理 </a>
                            </li>
                            <li><a href="../msgctl/Terminal/TerminalList.aspx" target="mainiframe">终端管理 </a>
                            </li>
                            <li><a href="../msgctl/log/loglist.aspx" target="mainiframe">消息日志</a></li>
                            <li><a href="../msgctl/dic/diclist.aspx" target="mainiframe">数据字典</a></li>
                        </ul>
                    </span>
                </div>
            </td>
            <td style="width: 10px;" background="../Image/splitter_bg_new.gif">
                <img alt="隐藏菜单" id="SplitImg" onclick="javascript:showmenu();" src="../Image/splitter_l.gif"
                    border="0" style="cursor: hand">
            </td>
            <td valign="top" style="padding-top: 10px;">
                <iframe src="main.htm" id="mainiframe" name="mainiframe" frameborder="0" width="100%"
                    onload="this.style.height=document.body.scrollHeight-110" style="margin: 0px;
                    margin-right: auto;"></iframe>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
